/*
 * @Description
 * @Author hanl
 * @Date 2023-06-02 15:42:10
 * @LastEditors hanl
 * @LastEditTime 2023-09-13 15:55:23
 */

import type { App } from 'vue'

import router from '@/router'

import usePinia from './pinia'

import 'virtual:uno.css'

import '@/styles/base.scss'

export async function usePlugins(app: App) {
  app.use(router)

  // await

  app.config.globalProperties.clsx = clsx
  app.config.globalProperties.dayjs = dayjs

  usePinia(app)
}
